<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<jsp:include page="check_logstate.jsp"></jsp:include>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://" + request.getServerName() + ":" + request.getServerPort() + path + "/";
%>
<!doctype html>
<html lang="zh_CN">
<head>
<base href="<%=basePath%>" />
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>欢迎使用大学生实训平台</title>
<script type="text/javascript" src="lib/layui/layui.js"></script>
<script type="text/javascript" src="lib/layui/controller.js"></script>
<script type="text/javascript" src="js/jquery.min.js"></script>
<script type="text/javascript" src="js/complains.js" charset="utf-8"></script>
<script type="text/javascript" src="js/selimage.js" charset="utf-8"></script>
<link rel="stylesheet" href="css/font.css">
<link rel="stylesheet" href="css/xadmin.css">
<script type="text/javascript" src="<%=basePath%>My97DatePicker/WdatePicker.js" charset="utf-8"></script>
<body>
	<div class="layui-fluid">
		<div class="layui-row layui-col-space15">
			<div class="layui-col-md12">
				<div class="layui-card">
					<div class="layui-card-body layui-table-body layui-table-main">
						<form class="layui-form" style="width: 80%;" action="complains/updateComplains.action" name="myform" method="post">
							<div class="layui-form-item">
								<label class="layui-form-label">标题</label>
								<div class="layui-input-block">
									${complains.title} <input type="hidden" name="title" class="layui-input" id="title" value="${complains.title}" />
								</div>
							</div>
							<div class="layui-form-item">
								<label class="layui-form-label">内容</label>
								<div class="layui-input-block">
									${complains.contents} <input type="hidden" name="contents" class="layui-input" id="contents"
										value="${complains.contents}" />
								</div>
							</div>
							<div class="layui-form-item">
								<label class="layui-form-label">管理员回复</label>
								<div class="layui-input-block">
									<textarea name="adminrep" class="layui-input" id="adminrep">${complains.adminrep}</textarea>
								</div>
							</div>
							<div class="layui-form-item">
								<div class="layui-input-block">
									<input type="hidden" name="complainsid" id="complainsid" value="${complains.complainsid}" /><input
										type="hidden" name="companyid" id="companyid" value="${complains.companyid}" /> <input type="hidden"
										name="status" id="status" value="已回复" /> <input type="hidden" name="addtime" class="layui-input" id="addtime"
										value="${complains.addtime}" />
									<button type="submit" class="layui-btn" id="sub">提交保存</button>
									<button type="reset" class="layui-btn" id="res">取消重置</button>
								</div>
							</div>
						</form>
					</div>
				</div>
			</div>
		</div>
	</div>
</body>
</html>


